<template>
	<view class="bg-gray">
		<carousel :res="carouselImage" class="bgshare" height='500' />
		<view class="width">
			<view class="linebox">
				<view class="bg-white commonbg">
					<view class="font15 flex-row-between bold">
						场地名称
					</view>
					<view class="color6 fontbottom">
						介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段介绍字段
					</view>
					<view class="color6 flex-row-start addressinfo" v-for='(item,index) in applyList'>
						{{item.name}}
						<view class="wuti">{{item.end}}</view>
					</view>
				</view>
				<view class="bg-white boxin">
					<view class="flex-row-between boxitem">
						姓名
						<view>张三</view>
					</view>
					<view class="flex-row-between boxitem">
						使用时间
						<view>2024-05-25</view>
					</view>
				</view>
				<view class="linebox">
					<view class="bg-white commonbg">
						<view class="font15 flex-row-start bold">
							<view class="line"></view>
							图文说明
						</view>
						<view class="color6 fontbottom">
	一对一吉他课 600元40节课无论是新学吉他的小白还是进阶吉他手我都会根据你的练习情况给吉他谱一对一吉他课 600元40节课无论是新学吉他的小白还是进阶吉他手我都会根据你的练习情况给吉他谱
						</view>
						<image src="https://www.haopengsong.xyz/static/study/bg.png" mode="widthFix" class="bgimg"></image>
					</view>
				</view>
				<view  class="apply">
					<u-button type="primary" shape='circle' class="apply">确认预约（剩余4个名额）</u-button>
				</view>
				
			</view>
		</view>
		<bottomsubmit title='确认支付'></bottomsubmit>
	</view>
</template>

<script>
	import tpl_banner from "@/pages/tabbar/roperty/template/tpl_banner"; 
	export default {
		components: {
			carousel: tpl_banner
		},
		data(){
			return {
				carouselImage:[
					{ name:'https://www.haopengsong.xyz/static/study/detailbg.png'}
				],
				username:'',
				tel:'',
				jtel:'',
				applyList:[
					{ name:'可用设备',end:'投影仪' },
					{ name:'推荐用途',end:'室外教学' },
					{ name:'最多可容纳人数',end:'20' },
					{ name:'可用设备',end:'投影仪' },
				]
			}
		},
		methods:{
			jump(res){
				uni.navigateTo({
					url: res
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
 .width{
	 position: relative;
	 top:-40px;
	 padding-bottom: 50px;
 }
 .commonbg{
	 margin: 0;
 }
 .boxin,.linebox,.bgimg{
	 margin-top: 10px;
 }
 .apply{
	 margin-top: 20px;
 }
 .addressinfo{
	 margin-top: 10px;
	 .wuti{
		 padding-left: 20px;
	 }
 }
 
</style>